package com.neo.impatient.C10__Trait.C10_03_TraitImpl

class ConsoleLogger1 extends Logger with Cloneable with Serializable{
  override def log(msg: String): String = ???
}



object ConsoleLogger1 {

  def main(args: Array[String]): Unit = {

    val saveAccount = new SaveAccount("zhao") with Logger {
      override def log(msg: String): String = "Hello"
    }

   println(saveAccount.log("aa"))
  }
}
